package com.slmxz.tms.system.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.slmxz.tms.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 系统配置 实体
 * @author sunyao
 * @Date 2024-11-07
 */
@Schema(description = "系统配置")
@TableName("sys_config")
@Data
public class Config extends BaseEntity {

    @TableId(value = "id")
    private Long id;

    @Schema(description = "配置名称")
    private String configName;

    @Schema(description = "配置键")
    private String configKey;

    @Schema(description = "配置值")
    private String configValue;

    @Schema(description = "描述、备注")
    private String remark;

    /**
     * 将删除语句调整为修改语句
     */
    @TableLogic(value = "0", delval = "1")
    private Integer isDeleted;

}
